package com.songlanyun.modules.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.article.entity.ArticleCourse;

import java.util.Map;

/**
 * 文章课程关联表
 *
 * @author wuchao
 * @email sunlightcs@gmail.com
 * @date 2021-03-01 14:11:11
 */
public interface ArticleCourseService extends IService<ArticleCourse> {

    PageUtils queryPage(Map<String, Object> params);

    void removeByAid(Long aid);

    void saveArticleCourse(Long aid, Long courseId);

    void updateArticleCourse(Long aid, Long courseId);

    Integer articleNum(Long cid);
}

